package com.dc.designPattern._21_strategy.extend.extend3;

/**
 * Description: 引入策略模式_加法
 * @author: gdc
 * @date: 2021/6/29
 * @version 1.0
 */
public class Add implements Calculator {

    @Override
    public int exec(int a, int b) {
        return a + b;
    }

}
